package com.example.orderserver.params;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class OrderParams {
    @ApiModelProperty(value="id", example = "主键")
    private String id;
    @ApiModelProperty(value="卖家id", example = "1", required = true)
    private String sellId;
    @ApiModelProperty(value="买家id", example = "1", required = true)
    private String buyId;
    @ApiModelProperty(value="商品id", example = "1", required = true)
    private String goodsId;
    @ApiModelProperty(value="金额", example = "1", required = true)
    private Double price;
    @ApiModelProperty(value="订单状态", example = "1", required = true)
    private int status;
    @ApiModelProperty(value="交易方式 1.自取 2.送货上门 3.约定地点交货", example = "1", required = true)
    private int method;
    @ApiModelProperty(value="订单备注", example = "1", required = true)
    private String remark;
}
